18 research outputs found
Reactive Programming of Simulations in Physics
We consider the Reactive Programming (RP) approach to simulate physical
systems. The choice of RP is motivated by the fact that RP genuinely offers
logical parallelism, instantaneously broadcast events, and dynamic
creation/destruction of parallel components and events. To illustrate our
approach, we consider the implementation of a system of Molecular Dynamics, in
the context of Java with the Java3D library for 3D visualisation
La programmation en Junior
{\Junior est un langage construit au dessus de Java pour programmer des comportements réactifs. Il autorise la concurrence, les événements diffusés et définit plusieurs primitives permettant d'obtenir un contrôle fin sur l'exécution des programmes réactifs. Il est utilisé au travers d'une API, nommée Jr, qui masque les implémentations existantes
The SugarCubes Tool Box
SugarCubes are a set of Java classes for implementing software systems such as: Event based systems, especially those where events are instantly broadcast throughout the system. Communicating in this framework is like in radio transmissions, where emitters send information that is immediately received by all receivers. Concurrent systems, in particular threadless ones. Here, parallelism is a logical programming construct to implement activities which are supposed to proceed concurrently, and not in sequence. Reactive systems, which continuously react to activations from an external source. \noindent SugarCubes are used to implement reactive scripts and icobj programming on top of the Java language. They are available at http://www.inria.fr/meije/rc/SugarCub- es
Distributed Reactive Machines
One considers systems made of synchronizers to which distributed reactive machines are connected. The corresponding model is described with its implementation in Java, using SugarCubes and the RMI mechanism
The Junior Reactive Kernel
We define Junior as a Java framework kernel for reactive programming with broadcast events. We give Junior a formal semantics based on rewriting rule. We also describe three implementations of Junior. The first one, called REWRITE, is the direct implementation of the semantics rules. The second one is called REPLACE; it is more efficient than REWRITE as it reuses Java objects instead of always creating new ones. The third implementat- ion, called TURBO, optimises the number of syntax tree traversals and is adapted to situations where there are a large number of events. Finally, we discuss the extension of Junior to distributed contexts and compare it with the SugarCubes Reactive Java framework
Danse-doigts, jeu de motricité fine
International audienceCe document décrit la conception, la réalisation et l'expérimentation de « Danse-doigts », une application ludo-thérapeutique à destination d'enfants hémiparétiques. L'objectif de ce logiciel est double : permettre d'entraîner leur motricité fine sur tablette puis d'étudier l'effet de cet entraînement sur leurs compétences numériques (dénombrement, calcul.. .). La population visée, comme l'objectif d'évaluation des compé-tences de calcul, ont influencé la conception. Le développement logiciel se base sur des technologies Web standard mais repose sur une bibliothèque de programmation parallèle en javascript. Applications et bibliothèques sont disponibles gratuitement et s'installent très facilement sur la plupart des tablettes tactiles
The SugarCubes v2.0 Reference Manual
SugarCubes is a set of Java classes used to implement reactive, event based, concurrent systems. It is a low-level basis upon which more complex reactive formalisms can be implemented. SugarCubes introduces the notion of a global logical instant of execution, which is used to define synchronous parallelism and concurrency. It is also used to define instantaneous broadcasting of events which is a powerful communication mechanism. The second release of the SugarCubes package introduces some new extensions for easy implemention of dynamic and modular systems. It also defines a more accurate interface between reactive programs and standard Java objects. Basically, it introduces the notion of a reactive object, called cube, and focus on descriptions and combinations of behaviors of such objects. SugarCubes is freely available on the Web
The SugarCubes Tool Box
The SugarCubes are a set of Java classes used to implement reactive, event based, parallel systems. The SugarCubes can be seen as a low-level basis upon which more complex reactive formalisms can be implemented. They also provide a convenient framework for prototyping experimental extensions to various reactive formalisms. Th